package com.cmzj21.springcloudalibaba.blockhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.cmzj21.springcloud.entities.CommonResult;

/**
 * @author cmzj21
 */
public class CustomerBlockHandler {
    public static CommonResult handleException1(BlockException exception) {
        return new CommonResult(4444, "自定义全局限流处理信息......CustomerBlockHandler----1");
    }

    public static CommonResult handleException2(BlockException exception) {
        return new CommonResult(4444, "自定义全局限流处理信息......CustomerBlockHandler----2");
    }
}
